package com.yjc.common.constant;

/**
 * @author yjc
 * @create 2022-10-30 14:49
 */
public enum InventoryAlertsProcessStatusEnum {
    CREATE(1, "未处理"),
    PROCESSED(2, "已处理"),
    INVENTORY_IS_NOT_EMPTY(3, "库存未清空"),
    THE_ALERT_EXPIRED(4, "预警已过期");

    private String reason;
    private Integer code;

    InventoryAlertsProcessStatusEnum(Integer code, String reason) {
        this.code = code;
        this.reason = reason;
    }

    public String getReason() {
        return reason;
    }

    public Integer getCode() {
        return code;
    }
}
